package com.liang.resultMap.pojo;

import lombok.Data;

import java.util.List;

@Data
public class Teacher {
    private Integer id;
    private String name;
    private String sex;
    private String subject;
//    一个老师教导多个想学生
    private List<Student> student;
}
